package com.xjgzinfo.usdp.service.mapper;


import com.xjgzinfo.usdp.domain.BladeVisualCategory;
import com.xjgzinfo.usdp.domain.BladeVisualGlobal;
import com.xjgzinfo.usdp.service.dto.BladeVisualCategoryDTO;
import com.xjgzinfo.usdp.service.dto.BladeVisualGlobalDTO;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity {@link BladeVisualCategory} and its DTO {@link BladeVisualCategoryDTO}.
 */
@Mapper(componentModel = "spring", uses = {})
public interface BladeVisualGlobalMapper extends EntityMapper<BladeVisualGlobalDTO, BladeVisualGlobal> {


    default BladeVisualGlobal fromId(Long id) {
        if (id == null) {
            return null;
        }
        BladeVisualGlobal bladeVisualGlobal = new BladeVisualGlobal();
        bladeVisualGlobal.setId(id);
        return bladeVisualGlobal;
    }
}
